<!-- 通用顶部工具栏组件 -->
<template>
  <el-card>
    <div class="page-tools">
      <div class="left">
        <div class="tips">
          <slot name="left">
            <i class="el-icon-info" />
            <span>共16条记录</span>
          </slot>
        </div>
      </div>
      <div class="right">
        <slot name="right">
          <el-button type="danger" size="small">普通excel导出</el-button>
          <el-button type="info" size="small">复杂标头ecxel导出</el-button>
          <el-button type="success" size="small">excel导入</el-button>
          <el-button type="primary" size="small">新增员工</el-button>
        </slot>
      </div>
    </div>
  </el-card>
</template>

<script>
export default {
  data() {
    return {
    }
  }
}

</script>
<style lang='scss' scoped>
.page-tools {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
 ::v-deep .tips {
  border: 1px solid #91d5ff;
  background: #e6f7ff;
  padding:6px 8px;
  border-radius: 3px;
  color: #303133;
  font-size: 12px;
  i {
    margin-right: 6px;
    color: #409eff;
  }
}
</style>
